<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<table class="table table-striped" id="list">
	<tr>
		<th>NAME</th>
		<th>NIC</th>

	</tr>


	<s:iterator value="list">
		<tr>
			<td><s:url action="viewEmployeeDetails" var="urlEmployeeName"
					namespace="/employee">
					<s:param name="id" value="%{id}"></s:param>
				</s:url> <s:property value="id" />
				<sj:a href="%{urlEmployeeName}" targets="targetDiv">
					<s:property value="name" />
				</sj:a></td>

			<td><s:property value="nic" /></td>

		</tr>

	</s:iterator>



</table>